/**
 * <p>Title: liteflow</p>
 * <p>Description: 轻量级的组件式流程框架</p>
 * @author Bryan.Zhang
 * @email weenyc31@163.com
 * @Date 2020/4/1
 */
package io.mft.flow.data;

public class ChainNodeExecuteStep {
	private String nodeId;


	public ChainNodeExecuteStep(String nodeId) {
		this.nodeId = nodeId;
	}



	public String getNodeId() {
		return nodeId;
	}

	public void setNodeId(String nodeId) {
		this.nodeId = nodeId;
	}

	@Override
	public boolean equals(Object obj) {
		if (obj == null) {
			return false;
		} else {
			if (getClass() != obj.getClass()) {
				return false;
			} else {
				if (((ChainNodeExecuteStep) obj).getNodeId().equals(this.getNodeId())) {
					return true;
				} else {
					return false;
				}
			}
		}
	}
}
